From f247c18f8a552b87f74427df5ef8c43f8f942628 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Sun, 5 Oct 2025 17:42:59 +0200 Subject: [PATCH] examples: CMakeLists: drop redundant cmake_minimum_required MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The examples depend on the parent ubus project and can't be built independently. Drop redundant cmake_minimum_required from examples/CMakeLists.txt and inherit the version from the parent CMake project to keep version consistency. Signed-off-by: David Härdeman Link: https://github.com/openwrt/ubus/pull/7 Signed-off-by: Christian Marangi --- examples/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d808b22..bbcf7ae 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 3.10) - ADD_DEFINITIONS(-I..) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..) -- 2.30.2